<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>控制台输出定义的值</title>
	</head>
	<body>
		<script>
			var words = ["1","2","3","4","5","6","7","8","9","10","J","Q","K"];
			for(var i=0;i<=words.length;i++){
				console.log(words[i]);
			}
		</script>
	</body>
</html>
